package com.yance.fim.core.packets;


import com.yance.fim.core.enums.Code;
import com.yance.fim.core.packets.FimPacket;

public class ImPacket extends FimPacket {
    Code code = Code.NONE;
    int messageId;

    @Override
    public Code code() {
        return code;
    }

    @Override
    final public int messageId() {
        return messageId;
    }

    public void setCode(Code code) {
        this.code = code;
    }

    public void setMessageId(int messageId) {
        this.messageId = messageId;
    }
}
